package org.cnbi.entity;
import java.sql.Timestamp;
import java.util.Date;
/**
 * Copyright © 2014中国经邦. All rights reserved.
 * @Author 龚佳新
 * @Time 2014年4月8日下午1:30:48
 */
public class SysLog {
	
	private int logId;
	/**
	 * 类型
	 */
	private Short type;
	/**
	 * 级别
	 */
	private Short level;
	
	/**
	 * 操作时间
	 */
	private String operateTime;
	/**
	 * 主机
	 */
	private String hostName;
	/**
	 * IP
	 */
	private String hostIp;
	/**
	 * 操作人
	 */
	private String user;
	/**
	 * 用户浏览器类型
	 */
	private String broswer;//
	/**
	 * 日志内容
	 */
	private String content;
	
	public SysLog(){}
	
	public SysLog(String content,Short type,Short level){
		this.content = content;
		this.type = type;
		this.level = level;
	}
	
	public SysLog(String content,Short type,Short level,String user){
		this.content = content;
		this.type = type;
		this.level = level;
		this.user = user;
	}

	/**
	 * @return the type
	 */
	public Short getType() {
		return type;
	}

	/**
	 * @param type the type to set
	 */
	public void setType(Short type) {
		this.type = type;
	}

	

	/**
	 * @return the operateTime
	 */
	public String getOperateTime() {
		return operateTime;
	}

	/**
	 * @param operateTime the operateTime to set
	 */
	public void setOperateTime(String operateTime) {
		this.operateTime = operateTime;
	}

	/**
	 * @return the hostName
	 */
	public String getHostName() {
		return hostName;
	}

	/**
	 * @param hostName the hostName to set
	 */
	public void setHostName(String hostName) {
		this.hostName = hostName;
	}

	/**
	 * @return the logId
	 */
	public int getLogId() {
		return logId;
	}

	/**
	 * @param logId the logId to set
	 */
	public void setLogId(int logId) {
		this.logId = logId;
	}

	

	/**
	 * @return the user
	 */
	public String getUser() {
		return user;
	}

	/**
	 * @param user the user to set
	 */
	public void setUser(String user) {
		this.user = user;
	}

	/**
	 * @return the broswer
	 */
	public String getBroswer() {
		return broswer;
	}

	/**
	 * @param broswer the broswer to set
	 */
	public void setBroswer(String broswer) {
		this.broswer = broswer;
	}

	/**
	 * @return the level
	 */
	public Short getLevel() {
		return level;
	}

	/**
	 * @param level the level to set
	 */
	public void setLevel(Short level) {
		this.level = level;
	}

	/**
	 * @return the content
	 */
	public String getContent() {
		return content;
	}

	/**
	 * @param content the content to set
	 */
	public void setContent(String content) {
		this.content = content;
	}

	/**
	 * @return the hostIp
	 */
	public String getHostIp() {
		return hostIp;
	}

	/**
	 * @param hostIp the hostIp to set
	 */
	public void setHostIp(String hostIp) {
		this.hostIp = hostIp;
	}
	
	

}
